package com.huluobo.a2202monthdemo.mine

import com.blankj.utilcode.util.SPUtils
import com.huluobo.a2202monthdemo.R
import com.huluobo.a2202monthdemo.databinding.FragmentMineBinding
import com.huluobo.base.db.AppDBUtils
import com.huluobo.base.net.Const
import com.huluobo.base.view.BaseMVVMFragment


class MineFragment : BaseMVVMFragment<FragmentMineBinding>() {
    override fun getLayoutId(): Int = R.layout.fragment_mine

    override fun initData() {
        dataBinding.mineTv.text = AppDBUtils.getDb().getUserInfoDao()
            .queryUserInfoByName(SPUtils.getInstance().getString(Const.PARAM_USERNAME)).toString()
    }

    override fun initView() {
    }
}